<pre class="docs-method-signature"><code>rect.offset(dx [, dy])</code></pre>
<p>Offset the rectangle (change its <code>x</code> and <code>y</code> coordinates) by <code>dx</code> in x-axis and <code>dy</code> in y-axis.</p>

<p>If only <code>dx</code> is specified and is a number, <code>dy</code> is considered to be zero. If only <code>dx</code> is specified and is an object, it is considered to be another point or an object in the form <code>{ x: [number], y: [number] }</code></p>
